From: Jonas Dreßler Date: Sun, 31 May 2020 21:05:45 +0000 (+0200) Subject: workspace: Also hide attached dialogs in WindowClone from picking X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~684^2^2~331 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=988f9964075f2ee91cc824b6d9ae5cb7f3948058;p=gnome-shell.git workspace: Also hide attached dialogs in WindowClone from picking As explained in the comment in _init() of WindowClone, we hide the actual clone from picking so it doesn't interfere with XDND. This description applies to the clones of the attached dialogs just as well though, so hide the clones of attached dialogs from picking, too. https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1293 --- diff --git a/js/ui/workspace.js b/js/ui/workspace.js index 5002c5078..e11ffd896 100644 --- a/js/ui/workspace.js +++ b/js/ui/workspace.js @@ -239,6 +239,9 @@ var WindowClone = GObject.registerClass({ this._onMetaWindowSizeChanged(); }); + + Shell.util_set_hidden_from_pick(clone, true); + this.add_child(clone); }